Re: [NTG-context] structureuservariable as list

2023-02-25 Thread Alex Leray via ntg-context
}, translators={foo,bar,baz} ] {\em authors} \\ \commalistsentence[\structureuservariable{authors}][{ \crlf },{ \crlf }] {\em translators} \\ \processcommacommand[\structureuservariable{translators}]\dosomethingtwo \doloopoverlist {\structureuservariable{translators}} { (#1) \\ } \stopchapter \stoptext

Re: [NTG-context] process list items differently depending on position in list

2022-05-02 Thread Denis Maier via ntg-context
counterone>\plusone > ,\space > \fi > \commalistelement} Thanks. > > but ... there's also: > > \startlines > \commalistsentence[aap,noot,mies] > \commalistsentence[aap,noot] > \commalistsentence[aap] > \commalistsentence[a,b,c] &g

Re: [NTG-context] process list items differently depending on position in list

2022-05-02 Thread Hans Hagen via ntg-context
nes \commalistsentence[aap,noot,mies] \commalistsentence[aap,noot] \commalistsentence[aap] \commalistsentence[a,b,c] \commalistsentence[a,b,c][{ \& },{ and }] \commalistsentence[a,b,c][+,-] \stoplines which uses presets like \setuplabeltext [nl] [and-1={{, }}, and-2={{ en }}] % 1,

Re: [NTG-context] Wikfication of \commalistsentence

2021-12-06 Thread Wolfgang Schuster via ntg-context
}}]    % Should be: 1, 2 y 3 \setuplabeltext [de] [and-1={{, }}, and-2={{ und }}]  % Should be: 1, 2 und 3 \starttext \commalistsentence[one,two,three,four] % works as expected \language[es] \commalistsentence[uno,dos,tres,cuatro] % takes [en] settings \language[de] \commalistsentence[1,2,3,4

[NTG-context] Wikfication of \commalistsentence

2021-12-03 Thread Andres Conrado Montoya via ntg-context
={{ und }}] % Should be: 1, 2 und 3 \starttext \commalistsentence[one,two,three,four] % works as expected \language[es] \commalistsentence[uno,dos,tres,cuatro] % takes [en] settings \language[de] \commalistsentence[1,2,3,4] % takes [en] settings. \stoptext %% If I change

[NTG-context] Wikified \commalistsentence

2021-12-03 Thread Andres Conrado Montoya via ntg-context
Hi, just to let you know https://wiki.contextgarden.net/Command/commalistsentence has been wikified, feel free to make corrections or changes. -- Andrés Conrado Montoya Andi Kú andresconr...@gmail.com http://sesentaycuatro.com http://messier87.com http://chiquitico.org

Re: [NTG-context] Macro for a comma separated list of authors

2021-11-24 Thread Jairo A. del Rio via ntg-context
Hola. Maybe you need \commalistsentence? \def\Autores{% {Luis David Gómez-Méndez, Ph. D.}, {Adriana del Pilar Pulido-Villamarín, M. Sc.}, {Rubiela Castañeda-Salazar, M. Sc.}, {Juan Carlos Ulloa-Rubiano, Ph. D.}, {Adriana Matiz-Villamil, M. Sc.}, {Fidson Juarismy Vesga-Pérez, Ph. D